package com.tc.security01.controller;

import cn.keking.anti_reptile.annotation.AntiReptile;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class DemoController {

    @AntiReptile
    @GetMapping("/hello")
    public String demo() {
        return "Hello，World!";
    }

}
